//
//  UtilsMarco.h
//  lcf-newproject
//
//  Created by yangyang on 14-11-10.
//  Copyright (c) 2014年 yang. All rights reserved.
//
/*
 UtilsMacro.h 里放的是一些方便使用的宏定义，如：
 #define UIColorFromRGB(r,g,b) [UIColor \
 colorWithRed:r/255.0 \
 green:g/255.0 \
 blue:b/255.0 alpha:1]
 
 #define NSStringFromInt(intValue) [NSString stringWithFormat:@"%d",intValue]
 */
#ifndef lcf_newproject_UtilsMarco_h
#define lcf_newproject_UtilsMarco_h

//标签栏tag值
#define LCFTabBarTag 100
#define LCFProjectTabBarTag 200
#define LCFPersonalTag 300
#define LCFTradeRecordTag 400

//导航栏title属性
//title的大小
#define LCFTitleSize 22
//title的frame
#define LCFTitleFrame CGRectMake(0, 0, 40, 44)

//首页cirlceProgressBar属性
#define _degressToRadians(x) ((x) * M_PI) / 180
#define _degressWidth 65
#define _degressHeight 65
#define _degressStartAngle 75
#define _degressEndAngle 75+360
#define _degressTrackColor [UIColor colorWithWhite:0.9 alpha:0.4].CGColor
#define _degressProgressColor [UIColor whiteColor].CGColor
#define ProjectCellHeight 163
#define ScrollViewHeight 179

//项目页面
#define ProjectTabBarWidth(x) __MainScreen_Width/x
#define ProjectTabBarHeight 44
#define ProjectDegressWidth 160
#define ProjectDegressHeight 120
#define ProjectDegressTrackColor [UIColor colorWithWhite:1 alpha:0.2].CGColor
#define ProjectDegressProgressColor [UIColor whiteColor].CGColor
#define ProjectDegressStartAngle 140
#define ProjectDegressEndAngle 40+360

//个人中心界面


#define PersonalCenterHeight 340
#define PersonalButtonWidth(x) __MainScreen_Width/x
#define PersonalButtonHeight 102


//收益界面
#define Calendarheight 285
#define EarningCellHeight 70
#endif
